package com.ptt.sqm.component;

public class SpinnerObject {

	private String id;
    private String name;
    private String value;
    private Object obj;
    
    public SpinnerObject ( String name , String value ) {
        this.name = name;
        this.value = value;
    }

    public SpinnerObject (String id, String name , String value ) {
    	this.id = id;
        this.name = name;
        this.value = value;
    }
    
    public SpinnerObject ( String name , String value , Object obj ) {
        this.name = name;
        this.value = value;
        this.obj = obj;
    }
    
    public String getName () {
        return name;
    }

    public String getValue () {
        return value;
    }

    @Override
    public String toString () {
        return name;
    }

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}

    
}
